home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The CICA Windows Explosion!
/
The CICA Windows Explosion! - Disc 2.iso
/
nt
/
source.exe
/
POSIX
/
SH
/
STD
/
STDC
/
MEMCPY.C
< prev
next >
Wrap
C/C++ Source or Header
|
1992-07-13
|
228b
|
19 lines
/* $Header$ */
#include <string.h>
Void *
memcpy(dap, sap, n)
Void *dap;
Const Void *sap;
register size_t n;
{
register char *dp = dap, *sp = (Void*) sap;
if (n++ > 0)
while (--n > 0)
*dp++ = *sp++;
return dap;
}